cmake_minimum_required(VERSION 3.17)
project(tclip)

set(CMAKE_CXX_STANDARD 11)
set(SOURCE_FILES tclip.cpp)

find_package(OpenCV  REQUIRED)
message(STATUS "OpenCV library status:")
message(STATUS "    version: ${OpenCV_VERSION}")
message(STATUS "    libraries: ${OpenCV_LIBS}")
message(STATUS "    include path: ${OpenCV_INCLUDE_DIRS}")
# Add OpenCV headers location to your include paths
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(tclip ${SOURCE_FILES})

target_link_libraries(tclip ${OpenCV_LIBS})